package de.backtomedieval.buildings;

import java.util.ArrayList;

import de.backtomedieval.R;
import de.backtomedieval.units.AbstractUnit;
import de.backtomedieval.units.UnitGroup;
import de.backtomedieval.units.UnitOrder;
import de.backtomedieval.game.Costs;
import de.backtomedieval.game.Earning;
import de.backtomedieval.main.Game;

public class Siege_Manufacture extends AbstractBuilding {

	private static int _healthpoints = 200;
	private static int _defense = 15;
	private static Earning earnSetting = null;
	private static Costs costSetting = null;
	
	private ArrayList<UnitOrder> unitsToBuild = new ArrayList<UnitOrder>();
	
	public Siege_Manufacture() {
		super(_healthpoints, _defense);
		if (costSetting == null) {
			costSetting = new Costs();
			costSetting.setLumberCost(60);
			costSetting.setStoneCost(100);
			costSetting.setFoodSupply(1);
			costSetting.setGoldSupply(1);
		}
		this.setCosts(costSetting);
	}

	@Override
	int getDefenseBonus() {
		return 0;
	}
	@Override
	int getHealthpointsBonus() {
		return 0;
	}
	@Override
	int getIncomeBonus() {
		return 0;
	}

	public ArrayList<UnitOrder> getUnitsToBuild() {
		return unitsToBuild;
	}

	
	@Override
	public String getName() {
		return Game.getString(R.string.building_siegemanufacture);
	}
	
	@Override
	public int getImage() {
		return R.drawable.icon;
	}
}
